//---------------------------------------------------------------------------
#ifndef MainH
#define MainH
//---------------------------------------------------------------------------
#include <vcl\sysutils.hpp>
#include <vcl\windows.hpp>
#include <vcl\messages.hpp>
#include <vcl\sysutils.hpp>
#include <vcl\classes.hpp>
#include <vcl\graphics.hpp>
#include <vcl\controls.hpp>
#include <vcl\forms.hpp>
#include <vcl\dialogs.hpp>
#include <vcl\stdctrls.hpp>
#include <vcl\buttons.hpp>
#include <vcl\extctrls.hpp>
#include <vcl\menus.hpp>
//---------------------------------------------------------------------------

#include "Input.h"
#include "Close.h"
#include <vcl\MPlayer.hpp>

class TMainForm : public TForm
{
__published:
	TEdit *EditExpression;
	TTimer *Timer1;
	TEdit *EditResult;
	TLabel *Label1;
	TLabel *Label2;
	TButton *BtnHelp;
	TPanel *Panel1;
	TMediaPlayer *MediaPlayer1;
	TImage *Image1;
	TBitBtn *BitBtnHelp;
	void __fastcall FormCreate(TObject *Sender);

	void __fastcall Timer1Timer(TObject *Sender);

	void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);

	void __fastcall BtnHelpClick(TObject *Sender);
	void __fastcall BitBtnHelpClick(TObject *Sender);
private:        // private user declarations
	TInputForm	*inputForm[3];
    char		szBuf[1000];
    TFormClose	*formClose;
public:         // public user declarations
	virtual __fastcall TMainForm(TComponent* Owner);

};
//---------------------------------------------------------------------------
extern TMainForm *MainForm;
//---------------------------------------------------------------------------
#endif
